package com.zzy.controller;

import com.zzy.domain.Result;
import com.zzy.domain.dto.TbOrderPageDto;
import com.zzy.domain.vo.TbOrderVo;
import com.zzy.service.TbOutboundOrderService;

import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequiredArgsConstructor
@RestController
@RequestMapping("/outboundOrder")
public class TbOutboundOrderController {
    private final TbOutboundOrderService tbOutboundOrderService;

    /**
     * 分页查询
     */
    public Result page(TbOrderPageDto dto){
        tbOutboundOrderService.getpage(dto);
    return Result.success();
    }
}
